import request from '@/utils/request'

// 查询NonmetalOrder列表
export function listNonmetalOrder(query) {
  return request({
    url: '/Nonmetal/NonmetalOrder/list',
    method: 'get',
    params: query
  })
}

// 查询NonmetalOrder详细
export function getNonmetalOrder(id) {
  return request({
    url: '/Nonmetal/NonmetalOrder/' + id,
    method: 'get'
  })
}

// 新增NonmetalOrder
export function addNonmetalOrder(data) {
  return request({
    url: '/Nonmetal/NonmetalOrder',
    method: 'post',
    data: data
  })
}

// 修改NonmetalOrder
export function updateNonmetalOrder(data) {
  return request({
    url: '/Nonmetal/NonmetalOrder',
    method: 'put',
    data: data
  })
}

// 删除NonmetalOrder
export function delNonmetalOrder(id) {
  return request({
    url: '/Nonmetal/NonmetalOrder/' + id,
    method: 'delete'
  })
}
